package com.itheima.app;

import com.itheima.service.StudentService;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Test_exe01 {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext app = new ClassPathXmlApplicationContext("exe01-application-student.xml");
        StudentService service = (StudentService) app.getBean("studentService");
        service.save();
    }
}
